package com.hi5.stexviewer.domain;

/**
 * Represents a stock.
 *
 * @author mate
 *
 */
public class Stock extends NamedEntity<Stock> {
    private Market market;

    public Market getMarket() {
        return market;
    }

    public void setMarket(Market market) {
        this.market = market;
    }

    @Override
    public String toString() {
        return "Stock [" + getName() + "]";
    }
}
